<html>

<head>
    <title>LEARNING</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/find.css" />
    <link rel="stylesheet" href="./css/footer.css" />
    <script src="js/csrf.js"></script>
</head>

<body>
    <div class="index-header">
        <div class="container">
                <span><a href="index.html" class="icon" style="text-decoration: none;">SHAKESPEARE</a></span>
            <ul class="nav-link-group">
                <li>
                    <a href="find.html">PROJECT
                        <br>学习项目</a>
                </li>
                <li>
                    <a href="guide.html">GUIDE
                        <br>医院导览</a>
                </li>
                <li>
                    <a href="mytest.html">TEST
                        <br>在线测试</a>
                </li>
                <li>
                    <a href="#">CONTACT
                        <br>联系我们</a>
                </li>
            </ul>
            <div class="login-block" id="login-block">
                <a href="./login.html?redirect=job.html" v-if="user_id === null || user_id === '' || user_id === undefined">登录</a>
                <a href="./register.html" v-if="user_id === null || user_id === '' || user_id === undefined">
                    注册</a>
                <p v-else>欢迎，{{email}}
                    <a href="#" v-on:click="logout">登出</a>
                </p>
            </div>
        </div>
    </div>
    <div class="container" id="app">
    <div class = "search">
        <div class = "search_left">
            <div class = "left_left">
            <p>PROJECT<br>查询学习病例</p>
            <label>
                <input type="text" class="form-control" v-on:change="getDisease" v-model="search" v-on:change="getCaseInfo(search)" style="width: 300px"/>
                <!-- <datalist id="dlist">
                    <option v-for="d in diseases" v-bind:value="d.caseName">{{d.id}}</option>
                </datalist> -->
            </label>
            </div>
        </div>
    </div>
    <div class = "single_case" v-for="d in cases">
        <div class = "single_case_left">
            <a href="#" class="thumbnail">
                <img src="./img/dog.jpg" style="height: 200px" v-bind:src="d.caseDetail[0].casePicture[0].imgUrl || ''"/>
            </a>
        </div>

        <div class = "single_case_right">
            <div class = "font-1">
                <p><a v-bind:href="'learn.html?id=' + d.id">{{d.caseName}}</a></p>
            </div>
            <div class = "font-2">
                <p>{{d.diseaseType || ''}}</p>
            </div>
            <div class="font-3">
                <p>{{d.caseDetail[0].description || ''}}</p>
            </div>
        </div>
    </div>
</div>
    <div class="tail">
        <div class="tail_left">
            <div class="tail_left_l">
                <div class="circle_1"></div>
                <div class="text_1">
                    <p>SHAKESPEAR</p>
                </div>
            </div>

            <div class="tail_left_r">
                <div class="text_2">
                    <p>StraBe 12
                        <br>12345 Irgendwo,Deutschland
                        <br>
                        <br>hallo@website.de</p>
                </div>
            </div>
        </div>

        <div class="tail_right">
            <div class="photo1">
                <img src="./img/tail1.png" />
            </div>
            <div class="photo2">
                <img src="./img/tail2.png" />
            </div>
            <div class="photo3">
                <img src="./img/tail3.png" />
            </div>

            <div class="text_3">
                <p>@2016 Shasta.Slle Rechte vorbehalten</p>

            </div>
        </div>
        </div>

        <script src="./js/loginblock.js"></script>
        <script src="./js/find.js"></script>
</body>
</html>










